<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="description" content="<?php echo get_setting('Meta Description'); ?>" />
	<meta name="keywords" content="<?php echo get_setting('Meta Keywords'); ?>" />
	<meta name="author" content="<?php echo get_setting('Author'); ?>" />
	<link rel="stylesheet" type="text/css" href="<?php echo $theme_url; ?>_css/main.css" title="Default Main.css" media="screen,projection" />
	<link rel="stylesheet" href="<?php echo $theme_url; ?>_fancybox/fancy.css" type="text/css" media="screen" />
	<title><?php echo page_menu_title(); ?><?php echo bread_crumbs(' &raquo; ', true); ?><?php echo get_setting('Site Name'); ?></title>
	<?php plugin('styles'); ?>
	<?php plugin('scripts'); ?>
	<script type="text/javascript" src="<?php echo $theme_url; ?>_fancybox/jquery.pngFix.pack.js"></script>
	<script type="text/javascript" src="<?php echo $theme_url; ?>_fancybox/jquery.fancybox-1.0.0.js"></script>
	<script type="text/javascript" src="<?php echo $theme_url; ?>_js/jquery.bgiframe.min.js"></script>
	<script type="text/javascript" src="<?php echo $theme_url; ?>_js/superfish.js"></script>
	<script type="text/javascript" src="<?php echo $theme_url; ?>_js/supersubs.js"></script>
	<script type="text/javascript">
	$(document).ready(function () {
		$('a:has(img)').fancybox({
			'overlayShow' : true,
			'overlayOpacity' : 0.7
		});
		$('#nav .gutter > ul > li > a:even').addClass('alt');
		$('#nav .gutter > ul > li > a').addClass('top');
		$("#nav .gutter > ul").superfish({
			hoverClass: 'hover',
			delay: 0,
			animation: false,
			autoArrows: false
		}).find('ul').hover(function() {
			parents = $(this).parent('li');
			$(parents).addClass('selected');
		}, function () {
			$(parents).removeClass('selected');
		}); 
	});
	</script>
<!--[if IE 7]>
<style type="text/css">
#nav .gutter {
    margin-right:-1px;
}
#container .gutter {
    margin-left:2px;
}
#footer {
	margin-left:1px;
}
</style>
<![endif]-->
<!--[if IE 6]>
<style type="text/css">
body {background:#333;}
#con {background:white;width:960px;margin:auto;}
#sidebar {margin-right:12px;}
#footer {background:#222;}
#footer .gutter {padding:20px 0;}
#footer .col .gutter {background:#151515;}
</style>
<![endif]-->
</head>

<body>
<div id="con">
	<div id="wrapper">
    	<div class="gutter">
            <div id="topBar">
                <div class="gutter">
                
                </div>
            </div>
            <div id="nav">
                <div class="gutter">
					<?php echo navigation("\n<ul id='nav' class='sf-menu'>\n%s\n</ul>\n", "\n<ul class='sub-nav'>\n%s\n</ul>\n"); ?>
                </div>
            </div>
            <div id="container">
                <div class="gutter">
                    &nbsp;
                </div>
            </div>
            <div id="content">
                <div class="gutter">
                	<h2><?php echo page_title(); ?></h2>
					<?php echo page_content(); ?>
					<br class='clear'/>
                </div>
            </div>
            <div id="sidebar">
                <div class="gutter">
					<?php echo sidebar('%s','<h2>%1$s</h2>%2$s', array("\n<ul id='nav'>\n%s\n</ul>\n"), array("\n<ul id='sidebar-nav'>\n%s\n</ul>\n", "\n<ul class='sidebar-sub-nav'>\n%s\n</ul>\n")); ?>
                </div>
            </div>
        </div>
    </div>
    <br class="clear" />
 </div>
           <div id="footer">
                <div class="gutter">
                    <div class="col col-1">
                        <div class="gutter">
                            <h3><?php echo staticContent('Column 1 Title',"Links"); ?></h3>
                            <?php echo staticContent('Column 1 Content',"<ul><li><a href='http://getfirefox.com'>Firefox</a></li></ul>"); ?>
                        </div>
                    </div>
                    <div class="col col-2">
                        <div class="gutter">
                            <h3><?php echo staticContent('Column 2 Title',"Links"); ?></h3>
                            <?php echo staticContent('Column 2 Content',"<ul><li><a href='http://getfirefox.com'>Firefox</a></li></ul>"); ?>
                        </div>
                    </div>
                 <br class="clear" />
                 </div>
                 <br class="clear" />
            </div>               
</body>
</html>
